package cn.tedu.boot04.mapper;

import cn.tedu.boot04.entity.Product;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author liyang
 * @version 1.0
 * @package cn.tedu.boot04.mapper
 * @file ProductMapper.java
 * @description
 * @time 2024/7/23 下午4:11
 */
@Mapper
public interface ProductMapper {
    @Insert("insert into product values (null,#{title},#{price},#{num})")
    void insert(Product product);






}
